package com.liangplus.elasticsearch.service;

import com.liangplus.elasticsearch.dao.ShrDao;
import com.liangplus.elasticsearch.entity.pojo.Shr;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by yumin on 2019/8/2.
 */
@Service
public class ShrService {

    @Autowired
    private ShrDao shrDao;

    public List<Shr> selectAll(){
        return shrDao.selectAll();
    }

}
